<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2024/9/14
  Time: 下午3:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
        String username=(String)session.getAttribute("username");
        if (username==null){
            response.sendRedirect("/SessionLogin.jsp");
        }
    %>
<h2>管理员主页</h2>
${sessionScope.username},欢迎你,登录成功
<a href="/loginOut">安全退出</a>
</body>
</html>
